<template>
  <div>
    <titleTop :titleTxet="titleTxet"></titleTop>
    <div class="container flex f_align f_bet b_d p_t p_d">
      <div class="font_32 f_w c_28">
        <span>头像</span>
      </div>
      <div class="img_box">
        <img
          :src="info.avatar"
          alt=""
        >
      </div>
    </div>
    <div class="container flex f_align f_bet b_d p_t p_d">
      <div class="font_32 f_w c_28">
        <span>昵称</span>
      </div>
      <div class="w2 font_28 c_28">
        <input
          type="text"
          placeholder="注册后此昵称不可更改"
          class="t_right w1"
          v-model="info.user_login"
        >
      </div>
    </div>
    <div class="container flex f_align f_bet b_d p_t p_d">
      <div class="font_32 f_w c_28">
        <span>绑定手机号</span>
      </div>
      <div class="w2 font_28 c_28">
        <input
          type="number"
          placeholder="绑定手机号"
          class="t_right w1"
          v-model="info.user_login"
        >
      </div>
    </div>
    <div class="container flex f_align f_bet b_d p_t p_d">
      <div class="font_32 f_w c_28">
        <span>出生年月</span>
      </div>
      <div class="w2 font_28 c_28">
        <input
          type="number"
          placeholder="请选择出生年月"
          class="t_right w1"
          v-model="info.birthday"
        >
      </div>
    </div>
    <div class="container flex f_align f_bet b_d p_t p_d">
      <div class="font_32 f_w c_28">
        <span>所在地</span>
      </div>
      <div class="w2 font_28 c_28">
        <input
          type="number"
          placeholder="请输入地址"
          class="t_right w1"
          v-model="info.location"
        >
      </div>
    </div>
    <div class="container flex f_align f_bet b_d p_t p_d">
      <div class="font_32 f_w c_28">
        <span>个性签名</span>
      </div>
      <div class="w2 font_28 c_28">
        <input
          type="number"
          placeholder="请输入个性签名"
          class="t_right w1"
          maxlength="150"
          v-model="info.signature"
        >
      </div>
    </div>
    <div class="sub-btn t_center font_36 c_ff">
      <span>完成</span>
    </div>
  </div>
</template>
<script>
import titleTop from "../../com/title";
export default {
  components: { titleTop },
  data() {
    return {
      titleTxet: {
        titleName: "认证信息",
        IsBool: true,
        IsShare: false
      },
      info: {
        avatar: require("../../../assets/img/headImg.png"),
        user_login: "",
        mobile: "",
        birthday: "1996-11-19",
        location: "",
        signature: ""
      }
    };
  },
  mounted(){
    mui.back = function() {
      window.history.go(-1);
    }
  },
  methods: {}
};
</script>

<style scoped>
.img_box {
  width: 86px;
  height: 86px;
}
.img_box img {
  width: 86px;
  height: 86px;
  border-radius: 10px;
}
.p_t {
  padding-top: 32px;
}
.p_d {
  padding-bottom: 32px;
}
.sub-btn {
  width: 400px;
  height: 80px;
  line-height: 80px;
  margin: 0 auto;
  background: #884ca4;
  border-radius: 10px;
  margin-top: 360px;
}
</style>


